Repository navigation
feat(app): Window.SetTitle changes a window's title after it opens - #1
Merged
Merged
Conversation
macOS sets the NSWindow title on the main thread; Windows posts the change to the window thread and applies it with SetWindowTextW (a direct call from another thread would block on WM_SETTEXT); Linux sets the GTK toplevel title on the GTK thread; the headless host records it in its windows listing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 of 61 tasks
This was referenced Nov 11, 2026
This was referenced Nov 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
app.Window.SetTitle(title string) error: changes the window title after the window opens. The title shows in the system title bar, the task switcher and the taskbar or Dock window list. It is safe to call from any goroutine. Hosts without support return an error that wrapsErrUnsupported.viva_application_set_titlesets the NSWindow title on the main thread and updates the delegate's_title.wmSetTitle(0x8052). The window thread applies it withSetWindowTextWand also updates the accessibility tree's window name. A direct call from another thread would block on WM_SETTEXT, so the change is posted instead.windowslisting.docs/conformance.mdupdated; unit testTestSetTitleDelegatesToTheHostadded.Purpose: Lithe IDE (1lck/Lithe-IDEA#1799) needs the window title and the Windows taskbar entry to follow the current project and file.
🤖 Generated with Claude Code